// 路由配置
export const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('../views/Home.vue'),
    meta: {
      title: '首页'
    }
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('../views/About.vue'),
    meta: {
      title: '关于'
    }
  },
  {
    path: '/features',
    name: 'features',
    component: () => import('../views/Features.vue'),
    meta: {
      title: '功能展示'
    }
  },
  {
    path: '/communication',
    name: 'communication',
    component: () => import('../views/Communication.vue'),
    meta: {
      title: '通信测试'
    }
  },
  {
    path: '/:pathMatch(.*)*',
    name: 'not-found',
    component: () => import('../views/NotFound.vue'),
    meta: {
      title: '页面不存在'
    }
  }
]